capi module¶
-
class
sd.capi.CAPI¶ Bases:
objectClass used to manage the C API It it based on CTypes and retrieve the binary from the runtime C++ application or the shared library specified in the SDAppInfo object
-
getCTypesBinary()¶
-
getCTypesFct(aFctName)¶ - Parameters
aFctName – The CTypes function name
- Returns
return the CTypes function object that match the
-
static
getLogger()¶
-
getSDAppInfo()¶
-
getVersion()¶
-
isRuntime()¶
-
-
class
sd.capi.OSBackend(aDynamicLibraryFileExtension, aDynamicLibraryFilePrefix)¶ Bases:
object-
loadCTypesBinary(aBinaryFile)¶
-
-
class
sd.capi.SDAppInfo¶ Bases:
object-
getPluginsDir()¶
-
getSD3DViewDir()¶
-
getSD3DViewIRayDir()¶
-
getSDApiBinaryDir()¶
-
getSDApiBinaryFile()¶
-
getSDPackagesDir()¶
-
getSDPythonSDKDir()¶
-
getSDResourcesDir()¶ - Returns
the resources directory of SD or ‘’ if not found
-
getSDRootDir()¶ - Returns
The SD installation root dir from the current file location: %INSTALLDIR%/resources/python/sd/CURRENT_FILE.py
-
getSDTemplatesDir()¶
-
getSubstanceEngineFile()¶
-
registerPaths()¶
-
-
sd.capi.getOSBackend()¶